projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e90e86
)
[HVM][VNC] Make sure that the vnc viewer gets the right resolution when it
author
Steven Smith
<ssmith@xensource.com>
Fri, 22 Sep 2006 19:20:57 +0000
(20:20 +0100)
committer
Steven Smith
<ssmith@xensource.com>
Fri, 22 Sep 2006 19:20:57 +0000
(20:20 +0100)
connects.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
tools/ioemu/vnc.c
patch
|
blob
|
history
diff --git
a/tools/ioemu/vnc.c
b/tools/ioemu/vnc.c
index 317d06925618bac2c9c40fa72ee2834b6d14ae2b..af3f4f088fec2f0ab6b312b77a16da468e440118 100644
(file)
--- a/
tools/ioemu/vnc.c
+++ b/
tools/ioemu/vnc.c
@@
-1137,6
+1137,8
@@
static int protocol_client_init(VncState *vs, char *data, size_t len)
size_t l;
char pad[3] = { 0, 0, 0 };
+ vga_hw_update();
+
vs->width = vs->ds->width;
vs->height = vs->ds->height;
vnc_write_u16(vs, vs->ds->width);